package com.zp.drug.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zp.common.myBatis.core.mapper.BaseMapperPlus;
import com.zp.drug.entity.DrugInventoryCheck;
import com.zp.drug.entity.bo.DrugInventoryCheckBo;
import com.zp.drug.entity.vo.DrugInventoryCheckVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


/**
 * 药品盘点表Mapper接口
 *
 * @author zhang peng
 * @ date 2024-06-14
 */
@Repository
public interface DrugInventoryCheckMapper extends BaseMapperPlus<DrugInventoryCheckMapper, DrugInventoryCheck, DrugInventoryCheckVo> {


    /**
     * 按申请单分组查询盘点记录
     *
     * @param drugInventoryCheckBo
     * @return
     */
    Page<DrugInventoryCheckVo> selectGroupInventoryNo(
            @Param("page") Page<DrugInventoryCheckBo> page, @Param("bo") DrugInventoryCheckBo drugInventoryCheckBo);

}
